package com.placement.refresh.util;

import java.util.Date;

public class Constants {
	
	public static final String CHK_CTX = "chk.ctx";
	
	public static final String TRUE_FL="T";
	public static final String FALSE_FL="F";
	public static final String YES_FL="Y";	
	public static final String BATCH_SIZE="batch.size";
	public static final int LAST_NO_OF_DAYS_DATA=-84;
	public static final int NO_OF_DAYS_TO_AS_OF=-1;
	
	
	public static final String REFRESH_JOBS_STEP="Process new jobs rss feed";
	
	
	public static final String[][] CONTROL_STEP = {
 			{"1",REFRESH_JOBS_STEP,"F","com.placement.refresh.batch.RefreshProcessJobs"}};
	
	
	public static final String JOB_DATA_SEQ="JOB_DATA_ID_SEQ";
	
	
	
	
	//exception description
	public static final int ER0001=1;
	public static final int ER_0003=3;
	public static final int ER_0004=4;
	public static final int ER_0006=6;
	public static final int ER_0007=7;     
	public static final int ER_0011 = 11;
	public static final int ER_005 = 5;
	public static final int ER_008 = 8;
	public static final int ER_009 = 9;
	public static final int ER_0010 = 10;
	public static final int ER_0012 = 12;
	public static final int ER_0013 = 13;
	public static final int ER_0014 = 14;
	public static final int ER_0015 = 15;
	public static final int ER_0017 = 17;
	public static final int ER_0018 = 18;
	public static final int ER_0019 = 19;
	public static final int ER_0020 = 20;
	public static final int ER_0021 = 21;
	public static final int ER_0022 = 22;
	public static final int ER_0023 = 23;
	public static final int ER_0024 = 24;

	public static final String STR_ASOF_NUM_OF_DAYS="asof.num.days";
	public static final String STR_LAST_NUM_OF_DAYS = "last.num_days";
	public static final String INCLAUSE_LIMIT = "max.incluase.limit";
	
		//Constants for oracle sequences 
	public static final String SRC_CONTEXT_SEQ = "LOLA_SRC_CONTEXT_SEQ";
	public static final String SRC_CONTEXT_KEY_SEQ = "LOLA_SRC_CONTEXT_KEY_SEQ";
	public static final String EXEPTION_SEQ = "LOLA_EXCEPTION_SEQ";
	

		
	
	public static final String BATCH_RUN_DATE = "batch.run.date";
	
		
	public static final String SERVICE_NAME = "REFRESH";
	public static final String REFERESH_CONTEXT_NAME = "REFRESH_BATCH";
	
	
	
	public static final String REFRESH_EMAIL_USER_ADDRESSES = "REFRESH_EMAIL_USER_ADDRESSES";
	public static final String REFRESH_SEND_EMAIL_TO_USERS = "REFRESH_SEND_EMAIL_TO_USERS";
	public static final String REFRESH_EMAIL_ADDRESSES = "REFRESH_EMAIL_ADDRESSES";
	
	
	 

}
